package com.ruoyi.sales.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
* 成品仓库对象 zc_store_product
*
* @author woo
* @date 2024-04-12
*/
@TableName("zc_store_product")
public class ZcStoreProduct implements Serializable
{
private static final long serialVersionUID = 1L;

/** ID */
@TableId(value = "id",type = IdType.AUTO)
private Long id;

/** 仓库 */
@Excel(name = "仓库")
private Long storeId;

/** 入库单 */
private Long enterId;

/** 逻辑删除 */
private Long del;

    //仓库name
    @TableField(exist = false)
    private String storeName;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    //产品编码（产品条码）
    @TableField(exist = false)
    private String productCode;
    //产品名称
    @TableField(exist = false)
    private String productName;
    //产品性质
    @TableField(exist = false)
    private String productNature;
    //产品规格
    @TableField(exist = false)
    private String productSpec;
    //拿到对应产品米数
    @TableField(exist = false)
    private String productMeters;


    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductNature() {
        return productNature;
    }

    public void setProductNature(String productNature) {
        this.productNature = productNature;
    }

    public String getProductSpec() {
        return productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public String getProductMeters() {
        return productMeters;
    }

    public void setProductMeters(String productMeters) {
        this.productMeters = productMeters;
    }

    public void setId(Long id)
{
this.id = id;
}

public Long getId()
{
return id;
}
public void setStoreId(Long storeId)
{
this.storeId = storeId;
}

public Long getStoreId()
{
return storeId;
}
public void setEnterId(Long enterId)
{
this.enterId = enterId;
}

public Long getEnterId()
{
return enterId;
}
public void setDel(Long del)
{
this.del = del;
}

public Long getDel()
{
return del;
}

@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("storeId", getStoreId())
.append("enterId", getEnterId())
.append("remark", getRemark())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("del", getDel())
.toString();
}
}